﻿<?php
echo $this->Form->create('Shoe',array('url' => '/add'));
echo $this->Form->input('nazev',array('value'=>'sem zadejte nazev'));
echo $this->Form->input('popis',array('value'=>'sem zadejte popis'));
	
	
echo "<p>";
echo "Barva:";
$options = array(
    'Modra' => 'Modrá',
    'Cervena' => 'Cervena'
);

$attributes = array(
    'legend' => false,
    'value' => $foo
);

echo $this->Form->radio('Barva', $options, $attributes);

echo $this->Form->input('Typ', array(    
    'options' => array('sandále', 'kopačky', 'žabky')
	));

$options = array(
    'Kanicky' => 'Kaničky',
    'SuchyZip' => 'Suchý Zip'
);

$attributes = array(
    'legend' => false,
    'value' => $foo
);

echo $this->Form->radio('lol', $options, $attributes);

echo "<p>";
echo "Podpatky:";
$options = array(
    'Ma' => 'Má',
    'Nema' => 'Nemá'
);

$attributes = array(
    'legend' => false,
    'value' => $foo
);

echo $this->Form->radio('Podpatek', $options, $attributes);


echo $this->Form->end('Uložit');
?>